From 26e24b46d174a0eb23f414bbeaa0f0da18836fb6 Mon Sep 17 00:00:00 2001 From: "kfraser@localhost.localdomain" Date: Tue, 13 Mar 2007 13:28:26 +0000 Subject: [PATCH] linux: No need to force pcibios_scan_all_fns() on modern Xen. Signed-off-by: Keir Fraser --- linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/pci.h | 7 ------- linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/pci.h | 7 ------- 2 files changed, 14 deletions(-) diff --git a/linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/pci.h b/linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/pci.h index 584f65e178..14c1d27629 100644 --- a/linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/pci.h +++ b/linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/pci.h @@ -143,11 +143,4 @@ static inline void pci_dma_burst_advice(struct pci_dev *pdev, /* generic pci stuff */ #include -/* On Xen we have to scan all functions since Xen hides bridges from - * us. If a bridge is at fn=0 and that slot has a multifunction - * device, we won't find the additional devices without scanning all - * functions. */ -#undef pcibios_scan_all_fns -#define pcibios_scan_all_fns(a, b) 1 - #endif /* __i386_PCI_H */ diff --git a/linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/pci.h b/linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/pci.h index 8ec15d931e..764270fa4f 100644 --- a/linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/pci.h +++ b/linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/pci.h @@ -163,11 +163,4 @@ static inline void pcibios_add_platform_entries(struct pci_dev *dev) #include #endif -/* On Xen we have to scan all functions since Xen hides bridges from - * us. If a bridge is at fn=0 and that slot has a multifunction - * device, we won't find the additional devices without scanning all - * functions. */ -#undef pcibios_scan_all_fns -#define pcibios_scan_all_fns(a, b) 1 - #endif /* __x8664_PCI_H */ -- 2.30.2